package com.itheima.service.db;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.domain.SmsHomeNewProduct;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface SmsHomeNewProductService {
    void save(SmsHomeNewProduct newProduct);

    void deleteNewProduct(List<Long> ids);

    //分页查询
    PageBeanVo findByPage(Integer pageNum, Integer pageSize, String productName, Integer recommendStatus);

    void updateNewProduct(Long id, Integer recommendStatus);

    void updatesortNewProduct(Long id, Integer sort);
}
